#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Models.Marketmodels;
using Cephei.QL.Math;
namespace Cephei.QL.Models.Marketmodels.Models
{
    /// <summary> 
	/// 
	/// </summary>
    [Guid ("73F7F000-49B9-46c8-837B-AB21EAB5113B"),ComVisible(true)]
	public interface IFlatVol : Cephei.QL.Models.Marketmodels.IMarketModel
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Double> Displacements {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Models.Marketmodels.IEvolutionDescription Evolution {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Double> InitialRates {get;}
        /// <summary> 
		/// 
		/// </summary>
		 UInt64 NumberOfFactors {get;}
        /// <summary> 
		/// 
		/// </summary>
		 UInt64 NumberOfRates {get;}
        /// <summary> 
		/// 
		/// </summary>
		 UInt64 NumberOfSteps {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Math.IMatrix PseudoRoot(UInt64 i);
    }   

    /// <summary> 
	///  Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IFlatVol_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IFlatVol Create (Cephei.Core.IVector<Double> volatilities, Cephei.QL.Models.Marketmodels.IPiecewiseConstantCorrelation corr, Cephei.QL.Models.Marketmodels.IEvolutionDescription evolution, UInt64 numberOfFactors, Cephei.Core.IVector<Double> initialRates, Cephei.Core.IVector<Double> displacements);
    }
}

